package org.applicationflow.command

import org.applicationflow.utils.ParameterChecker._

/**
 * Identifier for a command.
 */
final case class CommandId( symbol : Symbol) {
  requireNotNull( symbol )
  requireNotNull( symbol.name )

  override def toString = "Command-" + symbol.name
}